package com.oocl.hw02.sprint;

import com.oocl.hw02.ability.Shootable;

public class SnowPea extends Plant implements Shootable {

    private final int SHOOT_DAMAGE = 20;

    public void shoot(Zombie zombie) {
        zombie.setHp(zombie.getHp() - SHOOT_DAMAGE);
        zombie.setSpeed(zombie.getSpeed() / 2);
    }
}
